package com.atguigu.gulimall.order.feign;


import com.atguigu.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("gulimall-cart")
public interface CartFeignService {

    /**
     * 查询结算页购物车数据
     */
    @GetMapping( "/orderFeignCart")
    List<OrderItemVo> orderFeignCart(@RequestParam("id") Long id);
}
